package ooday04;

public class NonInnerClassDemo {
    public static void main(String[] args) {
//        Inter o1=new Inter(){
//            @Override
//            public void show(){
//                System.out.println("showshow");
//            }
//        };
        Inter o1=()-> System.out.println("showshow");
        o1.show();
    }

    interface Inter{
        void show();
    }
}
